package sy.pageModel;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Created by Administrator on 2016-06-29.
 */
public class BaseEntity  implements Serializable {
    protected String id;//编号
    protected String name;//名称
    protected int page;//分页
    protected int rows;//数量
    private String sort;
    protected String order;//排序
    protected String ids;
    protected String createTimeStart;//开始时间
    protected String createTimeEnd;//结束时间
    protected String isShow="Y";

    private int day;
    public final static String BASE_TYPE_ID_Y="Y";
    public final static String BASE_TYPE_ID_N="N";

    public static String BASE_MASSAGE_="5";
    public static String BASE_MASSAGE_TWO="2";
    public static String BASE_MASSAGE_THREE="3";
    public static String BASE_MASSAGE_FOUR="4";





    public final static Map<String, String> BASE_TYPE_ID = new LinkedHashMap<String, String>();


    static {
        BASE_TYPE_ID.put(BASE_TYPE_ID_Y,"是");
        BASE_TYPE_ID.put(BASE_TYPE_ID_N,"否");
    }


    public String getIsShow() {
        return isShow;
    }
    public String getShowName() {
        return BASE_TYPE_ID.get(isShow);
    }
    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public void setIsShow(String isShow) {
        this.isShow = isShow;
    }


    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public String getCreateTimeStart() {
        return createTimeStart;
    }

    public void setCreateTimeStart(String createTimeStart) {
        this.createTimeStart = createTimeStart;
    }

    public String getCreateTimeEnd() {
        return createTimeEnd;
    }

    public void setCreateTimeEnd(String createTimeEnd) {
        this.createTimeEnd = createTimeEnd;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    protected String deptId;//单位编号;
    protected String deptName;//单位名称;
    protected String typeId;//单位类型编号;
    protected String typeName;//单位类型名称;
    protected String pic;
    protected String text;

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

}
